home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- set the trails of sprite 5 to 1
- set x0 to the locH of sprite 3
- set y0 to the locV of sprite 3
- repeat with n = 0 to 720
- set n1 to float(n / 2.0)
- set r to tan(4.0 * n1 * PI / 180.0)
- set y to 150.0 * r * sin(n1 * PI / 180.0)
- set x to 150.0 * r * cos(n1 * PI / 180.0)
- set the locH of sprite 5 to x0 + x
- set the locV of sprite 5 to y0 - y
- updateStage()
- end repeat
- end
-